# Set default handler for incoming requests

DirectoryIndex index.php



# Follow symbolic links in the directory

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>



# Explicitly set right settings for mod_php 5 for Apache 1.x and 2.x

<IfModule mod_php5.c>

    php_flag magic_quotes_gpc			off

    php_flag magic_quotes_sybase		off

    php_flag register_globals			off

    php_flag mbstring.encoding_translation	off

    php_value mbstring.http_input		pass

    php_value mbstring.http_output		pass

    php_flag session.auto_start			off

</IfModule>

